Welcome![Sign In][Sign Up]
Location:
Search - event class

Search list

[Other Riddle gamesyanhua

Description: 用鼠标点击浏览器中的面板,将出现五彩缤纷的烟花效果。本实例的知识点有:鼠标事件的监听,Graphics类和Thread类的应用。-Use the mouse to click on the browser panel will appear colorful fireworks effects. Knowledge of this example are: mouse event listener, Graphics class and the Thread class applications.
Platform: | Size: 15360 | Author: pengyao | Hits:

[Windows Develop1636928

Description: 这段代码是教初学者/中级程序员“提高事件”在一个类模块,同时也可输入数量和生成一个随机数-This code is to teach beginner/intermediate programmers " raising event" in a class module, but also to enter the quantity and generate a random number
Platform: | Size: 2048 | Author: 东坡肘子 | Hits:

[FlashMXMagicStarButton

Description: 一个自定义的特效button,可以替换点击的换皮效果,加入各种缓动效果-a button class define by myself,it can change event action
Platform: | Size: 1024 | Author: 上官不灵 | Hits:

[Windows Developqiqiaoban

Description: 基于C#编写七巧板游戏的源码,代码中涉及GraphicsPath类的相关操作。部分代码示例适用于Windows窗体,它需要PaintEventArgse,一个OnPaint事件对象。-Based puzzle game written in C# source code related operations involving GraphicsPath class. Part of the code example is designed for Windows Forms, and it requires PaintEventArgse, a OnPaint event object.
Platform: | Size: 33792 | Author: 蜜蜡肘子 | Hits:

[JSP/JavaRichText

Description: TextView通常用来显示普通文本,但是有时候需要对其中某些文本进行样式、事件方面的设置。android系统通过SpannableString类来对指定文本进行相关处理,具体有以下功能: 1、BackgroundColorSpan 背景色 2、ClickableSpan 文本可点击,有点击事件 3、ForegroundColorSpan文本颜色(前景色) 4、MaskFilterSpan 修饰效果,如模糊(BlurMaskFilter)、浮雕(EmbossMaskFilter) 5、RasterizerSpan 光栅效果 6、StrikethroughSpan删除线(中划线) 7、UnderlineSpan 下划线 8、AbsoluteSizeSpan 绝对大小(文本字体) 9、DynamicDrawableSpan设置图片,基于文本基线或底部对齐。 10、ImageSpan 图片 11、RelativeSizeSpan 相对大小(文本字体) 12、ScaleXSpan 基于x轴缩放 13、StyleSpan 字体样式:粗体、斜体等 14、SubscriptSpan 下标(数学公式会用到) 15、SuperscriptSpan 上标(数学公式会用到) 16、TextAppearanceSpan文本外貌(包括字体、大小、样式和颜色) 17、TypefaceSpan 文本字体 18、URLSpan 文本超链接-TextView is usually used to display plain text, but sometimes need some text styles, events in the settings. android system through SpannableString class to the specified text related processing, specifically the following features: 1, BackgroundColorSpan background color 2, ClickableSpan clickable text with click event 3, ForegroundColorSpan text color (foreground) 4, MaskFilterSpan modification effects, such as blur (BlurMaskFilter), relief (EmbossMaskFilter) 5, RasterizerSpan grating effect 6, StrikethroughSpan strikethrough (underlined) 7, UnderlineSpan underline 8, AbsoluteSizeSpan absolute size (text font) 9, DynamicDrawableSpan set the picture, text-based baseline or bottom alignment. 10, ImageSpan picture 11, RelativeSizeSpan relative size (text font) 12, ScaleXSpan based on x-axis scaling 13, StyleSpan font styles: bold, italic, etc. 14, SubscriptSpan subscript (mathematical formula will be used) 15, SuperscriptSpan superscript (math formula will be used) 16, TextAppearanceSpa
Platform: | Size: 696320 | Author: | Hits:

[Hook apiManagedSpy

Description: 有不少开发者使用Visual Studio® 提供的工具Spy++。使用Spy++,你可以了解一个运行中的应用程序的窗体布局或确定一个导致bug的特定窗体消息。然而,当你创建一 个基于Microsoft® .NET框架的应用程序,Spy++变得不太管用了,因为由Spy++截取窗体消息和类不能与开发者使用或甚至看到的任何事情通信。 开发者真正所想看到的 是被托管的事件和属性值。 本文描述如何使用一个名为ManagedSpy的新工具并且它的关联库ManagedSpyLib,它们均可从MSDN® Magazine网址下载。与Spy++显示Win32® 信息比如窗体类、样式和消息相似,ManagedSpy显示托管控件、属性和事件。ManagedSpyLib允许你以编程方式访问另一个进程中的 Windows® 窗体控件。你可以获得并设置属性以及在你自己的代码中事件上同步。ManagedSpyLib也可以帮助你创建测试带(test harnesses)并且可以执行窗体、消息和事件记录(event logging)。 -Many developers use Visual Studio ® provides the tools Spy++. Using Spy++, you can learn about a running application form layout or cause the bug to determine a specific form messages. However, when you create one based on Microsoft ® . NET Framework applications, Spy++ becomes less useful, because by the Spy++ class can not intercept messages and forms with the developer to use or even seen anything communication. The developers really want to see is being hosted events and attribute values. This article describes how to use a new tool called ManagedSpy and its associated libraries ManagedSpyLib, they can be downloaded from the MSDN ® Magazine. With Spy++ displays Win32 ® information such form class, style and message similar to, ManagedSpy show managed controls, properties, and events. ManagedSpyLib allows you to programmatically access another process in the Windows ® Forms controls. You can get and set properties as well as in your own code event syn
Platform: | Size: 191488 | Author: 泽客 | Hits:

[Linux-Unixqcoreevent

Description: The QEvent class is the base class of all event classes. Event objects contain event parameters for Linux.
Platform: | Size: 6144 | Author: vuncangsue | Hits:

[JSP/JavaJAVA

Description: 计算器 /** * @(#)Computer.java * * * @author * @version 1.00 2010/7/21 */ import java.awt.* import java.awt.event.* import javax.swing.* import java.lang.* public class Computer { private JFrame frame private JButton -/** * @(#)Computer.java * * * @author * @version 1.00 2010/7/21 */ import java.awt.* import java.awt.event.* import javax.swing.* import java.lang.* public class Computer { private JFrame frame private JButton
Platform: | Size: 2048 | Author: 王国 | Hits:

[Linux-Unixqeventloop

Description: The QEventLoop class provides a means of entering and leaving an event loop for Linux.
Platform: | Size: 3072 | Author: gierernie | Hits:

[JSP/Javajavapintu

Description: Java拼图游戏的源代码,另附游戏技术文档,本拼图游戏运用了Java2中的图形处理技术和消息响应技术。通过图形技术实现图片导入和分割。通过消息响应机制,使程序响应用户的鼠标操作,进行拼图游戏的操作。用鼠标拖动选中的小图片进行拼接,可以拼成一幅完整的图片。本源码的知识点有:鼠标事件的监听,Graphics类和Image类的应用。-Jigsaw Java source code, technical documentation attached game, the puzzles Java2 use of the graphics processing and message response technologies. Importing graphics technology through pictures and segmentation. Through the message response mechanism, making the program in response to user mouse actions, carried puzzle action. Use the mouse to drag the selected splicing small picture, you can spell a complete picture. The source of the knowledge points are: mouse event listener, Graphics class and the Image class applications.
Platform: | Size: 816128 | Author: 刘海涛 | Hits:

[JSP/Javajavafilreworks

Description: Java烟花特效代码,用鼠标点击浏览器中的面板,将出现五彩缤纷的烟花效果。要用到的Java知识点有:鼠标事件的监听,Graphics类和Thread类的应用。使用Graphics类:绘制烟花,使用Thread类:管理线程,使用Math类:产生随机数,使用Color类:设置颜色。 -Fireworks effects Java code, use the mouse to click on the browser panel will appear colorful fireworks effects. To use the Java knowledge are: mouse event listener, Graphics class and the Thread class applications. Use the Graphics class: Draw fireworks, use the Thread class: Managing threads, use the Math class: generate random numbers, use the Color class: set the color.
Platform: | Size: 15360 | Author: 刘海涛 | Hits:

[Special Effectsqsymbianevent

Description: The QSymbianEvent class contains a Symbian event of any type for Linux.
Platform: | Size: 1024 | Author: juiyinfai | Hits:

[Software Engineering11

Description: 整数多种进制形式相互转换,指定一种整数类型,以一种进制形式输入一个整数,将其及负数分别转换成其他进制形式显示-import java.awt.* import java.awt.event.* import javax.swing.* import javax.swing.event.CaretListener import javax.swing.event.CaretEvent public class NumJFrame extends JFrame implements ActionListener { private JTextField text_ten,text_str1,text_two,text_str2,text_four,text_str3,text_eight,text_str4,text_sixth,text_str5 private MessageJDialog jdialog private JButton button_ten,button_two,button_four,button_eight,button_sixth public NumJFrame() { super("int整数多种进制相互转换") this.setBounds(300,240,400,200) this.setResizable(false) this.setBackground(java.awt.Color.lightGray) this.setDefaultCloseOperation(EXIT_ON_CLOSE) this.getContentPane().setLayout(new GridLayout(4,3)) button_ten=new JButton("十进制") button_ten.addActionListener(this) text_ten.setHorizontalAlignment(JTextField.LEFT) this.getContentPane().add(text_ten) text_str1=new JTextField(50) text_str1.setHorizontalAlignment(JTextField.LEFT) text_str1.s
Platform: | Size: 1024 | Author: 吉旭峰 | Hits:

[Linux-UnixBluetoothEventRedirector

Description: Bluetooth Event Redirector receives broadcasts and callbacks from the Bluetooth API and dispatches the event on the UI thread to the right class in the Settings.
Platform: | Size: 2048 | Author: hongnouvie | Hits:

[JSP/JavaDeleteEventHelper

Description: A helper class for deleting events. If a normal event is selected for deletion, then this pops up a confirmation dialog. If the user confirms, then the normal event is deleted.
Platform: | Size: 3072 | Author: gukeicun | Hits:

[OS programCNTService-v1.79

Description: CNTService v1.79 A class framework for developing NT services in MFC-CNTService v1.79 A class framework for developing NT services in MFC Classes includes: CNTServiceCommandLineInfo The CNTServiceCommandLineInfo class aids in parsing the command line at application start-up. It is based almost exactly upon the way that the CCommandLineInfo class in MFC works. CNTEventLogSource CNTEventLogSource provides a wrapper class for writing events to the NT event log. You could consider this as the server side to the Event log APIs. CNTService CNTService is the class which provides a C++ framework upon which you can develop your own MFC C++ based services. The class makes heavy use of virtual functions which your service class should override. CNTScmService CNTScmService is a class which encapsulates a service as returned from the Service Control Manager, in effect a SC_HANDLE. An instance of a CNTScmService is usually acquired by a call to CNTServiceControlManager::Open. Once retrieved the class allows you to control the service, change
Platform: | Size: 107520 | Author: 吉祥 | Hits:

[JSP/JavaMonkeyEvent

Description: abstract class for monkey event Source Code for Andriod.
Platform: | Size: 1024 | Author: songneise | Hits:

[JSPJava-programming-tutorial

Description: 本书是一本介绍Java高级编程的实用教程,面向具有一定Java编程基础的开发人员。本书通过对"项目"的分析、实现和讲解,使读者在实践的过程中,逐步掌握Java高级编程的技巧和方法。 全书分10章,第1章至第4章详细介绍面向对象技术和Java类的高级特性;第5章介绍数组,主要涉及数组的创建和使用;第6章介绍图形用户界面和事件处理;第7章讲述高级I/0处理技术;第8章主要介绍多线程技术,包括线程的两种创建方法、线程的基本控制、线程的同步和线程的交互;第9章以网络聊天室为例,以JBuilder 9.O为开发环境,详细介绍图形用户界面设计、事件处理方法、Socket编程技术和多线程编程技术;第10章以员工管理系统为例,详细讲述如何使用JDBC访问数据库。附录A讲述Java编程规范,对于开发者来说具有较高的参考价值。 本书主要是面向高职高专院校高年级学生,也可作为本科学生和程序开发者参考用书。-This book is a practical guide to introduce a Java programming, Java programming foundation for certain developers. The book of "project" analysis, realization and explanation, so that readers in the process of practice, and gradually master the skills and methods of Java programming. The book consists of 10 chapters, the first chapter to the fourth chapter introduces the advanced features of object oriented technology and Java class the fifth chapter introduces the array, mainly involves the creation and use of the array the sixth chapter introduces the graphical user interface and event processing the seventh chapter is about the advanced I/0 processing technology the eighth chapter mainly introduces the multi thread technology, including two kinds of methods to create threads, thread control, thread synchronization and thread interaction in the ninth chapter, network chat room for example, with JBuilder 9.O as development environment, introduces the design of graphical user in
Platform: | Size: 3635200 | Author: 月冷风清 | Hits:

[Software Engineering97

Description: 编程思路:首先,本练习因为要制作抓不住的方块的实例,所以首先要制作界面中的方块,先通过Graphics类的对象函数g.setColor(Color.red)设置方块的颜色为红色,然后通过语句g.drawRect(0, 0, size().width - 1, size().height - 1)和g.drawRect(mx, my, (size().width/10) - 1, (size().height/10) - 1)绘制出两个矩形,这样就完成了方块的制作。然后,为了实现“抓不住方块”的效果,所以要响应鼠标事件,通过函数public boolean mouseDown(java.awt.Event evt, int x, int y响应按下鼠标的动作,通过光标位置的判断来避免鼠标抓到界面中的方块。-Programming ideas: first, to make this exercise because the instance box not catch, so first of all to make the interface box, first set the box through the Graphics class object function g.setColor (Color.red) color is red, then By statement g.drawRect (0, 0, size () width-. 1, size () height-. 1) and g.drawRect (mx, my, (size () .width/10)- 1, (size ( ) .height/10)- 1) draw two rectangles, thus completing the box production. Then, in order to achieve " catch box" effect, so to respond to mouse events, through the function public boolean mouseDown (java.awt.Event evt, int x, int y in response to pressing the mouse moves the cursor position to judge by Avoid mouse caught in the interface box.
Platform: | Size: 10240 | Author: 张飞 | Hits:

[Software Engineering00

Description: (1)编程思路:本例因为要制作计算器,所以首先定义具有计算功能的类Calculator。在类Calculator中定义处理加减乘除运算的函数,分别命名为opAdd (),opSubtract(),opMultiply(),opDivide()。然后,因为要实现实现人机交互的效果,所以先要定义实现用户界面类CalculatorGUI。通过Panel类的setLayout()函数进行用户界面的布局。此外,要通过actionPerformed(ActionEvent event))函数来实现对按钮事件的监听,并根据不同的按钮事件进行不同的运算。最后,因为要实现用户界面类与处理运算类的融合.,所以要在用户界面类(CalculatorGUI)中定义处理运算类(Calculator)的对象,这样,就完成了计算器的功能。-(1) programming ideas: in this case because to make the calculator, so first class definition Calculator with calculating functions. Defined handler arithmetic operations in the class Calculator, named as opAdd (), opSubtract (), opMultiply (), opDivide (). Then, because to achieve the realization of the effect of human-computer interaction, so the user interface must first define the implementation class CalculatorGUI. () Function layout of the user interface by the Panel class setLayout. In addition, to be implemented on the button event listener through actionPerformed (ActionEvent event)) function, and different operations depending on the button event. Finally, because the user interface classes to achieve fusion and processing operation class. Therefore, the user interface for the class (CalculatorGUI) process operation as defined in class (Calculator) object, so to complete the functions of the calculator.
Platform: | Size: 18432 | Author: 张飞 | Hits:
« 1 2 ... 5 6 7 8 9 1011 12 13 »

CodeBus www.codebus.net